<%@ Control Inherits="CVCommunity.Admin.CManagePermission" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%>

<form runat="server" onsubmit="return checknumber();">
<div class="grid">
<asp:TextBox id="refurl" runat="server" Visible="false" />
<table cellspacing="0" class="inner" style="font-size:12px;">
<tr class="forumno" style="font-size:14px; background:#FFFFFF">
<td>基本权限</td>
<td>版面权限</td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowAccessForum" runat="server" />
允许访问论坛</td>
<td class="smallbox"><asp:CheckBox ID="AllowAccess" runat="server" />
是否允许访问</td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowViewUserInfo" runat="server" />
允许查看用户资料</td>
<td class="smallbox"><asp:CheckBox id="AllowNewVote" runat="server" />
允许发起投票</td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowFade" runat="server" />
允许隐身</td>
<td class="smallbox"><asp:CheckBox id="AllowVote" runat="server" />
允许参与投票</td>
</tr>
<tr class="forumtd">
<td class="smallbox"><div class="left">使用搜索&nbsp;</div><div class="left fno"><asp:RadioButtonList ID="UserSearch" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="标题搜索" Value="1" />
<asp:ListItem Text="全文搜索" Value="2" /></asp:RadioButtonList></div></td>
<td class="smallbox"><asp:CheckBox id="AllowNewTopic" runat="server" />
允许发起主题</td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowChangeStyle" runat="server" />
允许切换风格</td>
<td class="smallbox"><asp:CheckBox id="AllowNewReply" runat="server" />
允许发表回复</td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowViewOnlineList" runat="server" />
允许查看在线名单</td>
<td class="smallbox"><asp:CheckBox id="AllowViewElite" runat="server" />
允许查看版面精华帖</td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowViewUserList" runat="server" />
允许查看会员列表</td>
<td>允许设置积分限制上线
<asp:TextBox ID="LimitRequire" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" Width="50" runat="server" alt='numeric'/></td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowViewIP" runat="server" />
允许查看用户IP</td>
<td>允许设置主题价格上线
<asp:TextBox ID="LimitPrice" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" Width="50" runat="server" alt='numeric'/></td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowViewAttachList" runat="server" />
允许查看附件列表</td>
<td>允许主题内容最大字节数
<asp:TextBox ID="TopicContentSize" Width="50" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" alt='numeric'/></td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowCustomHonor" runat="server" />
允许自定义头衔</td>
<td>允许回复内容最大字节数
<asp:TextBox ID="ReplyContentSize" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" Width="50" runat="server" alt='numeric'/></td>
</tr>
<tr class="forumtd">
<td>使用自定义头像允许<br /></td>
<td class="smallbox"><asp:CheckBox id="AllowUpload" runat="server" />
允许上传附件</td>
</tr>
<tr class="forumtd">
<td class="smallbox fno"><asp:CheckBoxList ID="UserCustomFace" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="使用论坛头像" Value="1" />
<asp:ListItem Text="指定头像 URL" Value="2" />
<asp:ListItem Text="上传头像" Value="4" />
</asp:CheckBoxList></td>
<td>允许上传附件类型
<asp:TextBox ID="AttachType" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" runat="server" Width="200"/>
(多个用“|”分割)</td>
</tr>
<tr class="forumtd">
<td>使用个性签名允许带有</td>
<td>每天允许上传
<asp:TextBox ID="AttachSizePerDay" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" Width="50" runat="server" alt='numeric'/>
KB</td>
</tr>
<tr class="forumtd">
<td class="smallbox fno"><asp:CheckBoxList ID="UserSignature" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="文字" Value="1" />
<asp:ListItem Text="图象" Value="2" />
<asp:ListItem Text="Flash" Value="4" />
<asp:ListItem Text="音乐/视频" Value="8" />
</asp:CheckBoxList></td>
<td>每天允许上传
<asp:TextBox ID="AttachCountPerDay" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" Width="30" runat="server" alt='numeric'/>
次</td>
</tr>
<tr class="forumtd">
<td>签名长度最大
<asp:TextBox ID="SignatureSize" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" Width="50" runat="server" alt='numeric'/>
个字节</td>
<td class="smallbox"><asp:CheckBox id="AllowImage" runat="server" />
允许发布图片</td>
</tr>
<tr class="forumtd">
<td class="smallbox"><asp:CheckBox ID="AllowSendMessage" runat="server" />
允许发短信</td>
<td class="smallbox"><asp:CheckBox id="AllowFlash" runat="server" />
允许发布Flash</td>
</tr>
<tr class="forumtd">
<td>短信内容最大
  <asp:TextBox ID="MessageSize" class="input2" onblur="this.className='input2'" onfocus="this.className='input1'" Width="50" runat="server" alt='numeric'/>  
个字节</td>
<td class="smallbox"><asp:CheckBox id="AllowMedia" runat="server" />
允许发布视频</td>
</tr>
<tr class="forumtd">
<td>最多收藏
<asp:TextBox ID="FavouriteCount" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" Width="50" runat="server" alt='numeric'/>
个项目(主题，版面，附件)</td>
<td class="smallbox"><asp:CheckBox id="AllowQuote" runat="server" />
允许引用回帖</td>
</tr>
<tr class="forumtd">
<td>最多添加
<asp:TextBox ID="FriendCount" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" Width="50" runat="server" alt='numeric'/>
个好友</td>
<td class="smallbox"><asp:CheckBox id="AllowCode" runat="server" />
允许发布代码</td>
</tr>
<tr class="forumtd category" style="font-size:14px">
<td colspan="2">管理权限</td>
</tr>
<tr class="forumtd smallbox">
<td><asp:CheckBox ID="AllowMoveTopics" runat="server" />
允许转移主题</td>
<td><asp:CheckBox ID="AllowDecorateTopics" runat="server" />
允许修饰主题</td>
</tr>
<tr class="forumtd smallbox">
<td><asp:CheckBox ID="AllowDeleteTopics" runat="server" />
允许删除主题</td>
<td><asp:CheckBox ID="AllowUnlockTopics" runat="server" />
允许解锁主题</td>
</tr>
<tr class="forumtd smallbox">
<td><asp:CheckBox ID="AllowEditTopic" runat="server" />
允许编辑主题</td>
<td><asp:CheckBox ID="AllowUntopTopics" runat="server" />
允许取消置顶</td>
</tr>
<tr class="forumtd smallbox">
<td><asp:CheckBox ID="AllowEditReply" runat="server" />
允许编辑回复</td>
<td><asp:CheckBox ID="AllowUneliteTopics" runat="server" />
允许取消精华</td>
</tr>
<tr class="forumtd smallbox">
<td><asp:CheckBox ID="AllowLockTopics" runat="server" />
允许锁定主题</td>
<td><asp:CheckBox ID="AllowUndecorateTopics" runat="server" />
允许取消修饰</td>
</tr>
<tr class="forumtd smallbox">
<td><asp:CheckBox ID="AllowTopTopics" runat="server" />
允许置顶主题</td>
<td><asp:CheckBox ID="AllowOperateAdmin" runat="server" />
允许操作管理员发表的主题或回复</td>
</tr>
<tr class="forumtd smallbox">
<td><asp:CheckBox ID="AllowTopAllTopics" runat="server" />
允许总置顶主题</td>
<td><asp:CheckBox ID="AllowOperateManager" runat="server" />
允许操作超级版主（前台管理员）发表的主题或回复</td>
</tr>
<tr class="forumtd smallbox">
<td><asp:CheckBox ID="AllowEliteTopics" runat="server" />
允许精华主题</td>
<td>&nbsp;</td>
</tr>
<tr class="forumtd">
<td colspan="2" align="center"><asp:Button Text="  提 交  " CssClass="button" runat="server" OnClick="Save" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" onclick="history.back()" class="button" value="  返 回  " /></td>
</tr>
</table>
</div>
</form>